import { createRouter, createWebHashHistory } from 'vue-router'
const router = createRouter({
  mode: 'hash',
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      redirect:'/index'
    },
    {
      path: '/index',
      name: 'index',
      component:()=>import('@/views/index.vue')
    }
  ]
})
export default router